package com.dz.lm.dao.business.read;

import com.dz.lm.common.utils.stereotype.ReaderRepository;
import com.dz.lm.domain.business.Banner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@ReaderRepository("readBannerDao")
public interface BannerDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Banner record);

    int insertSelective(Banner record);

    Banner selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Banner record);

    int updateByPrimaryKey(Banner record);

    List<Banner> listBanner(@Param("status") byte status);
}